OutlinedButton( onPressed: null, style: ButtonStyle( shape: MaterialStateProperty.all( RoundedRectangleBorder( borderRadius: BorderRadius.circular(30.0), ) ), ), child: const Text("Button text"), );